package com.calvin.springcloud.base;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;

import feign.Feign;

/**
 * 指定某个Feign客户端禁用Hystrix
 * @ClassName:FeignDisableHystrixConfig   
 * @author:Calvin.W
 * @date:2022年2月16日 上午11:44:29
 */
//@Configuration
public class FeignDisableHystrixConfig {
	//@Bean
	//@Scope("prototype")//非单例
	public Feign.Builder feignBuilder(){
		return Feign.builder();
	}
}
